package cn.rengy.web.framework.web.log;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.annotation.AliasFor;

/**
 * 操作日志记录注解
 * 
 *
 */
@Target({ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log{
	
	@AliasFor("isLog")
	public boolean value() default true;
    /**
     * 是否记录请求日志
     */
	@AliasFor("value")
    public boolean isLog() default true;
}
